package zwo.model;




public class Product {
    private int id;
    private String pname;
    private double unitPrice;
    private String url;
    private String details;
    private int stock;
    private int categoryId;
    private Boolean isPutOnSale;
    private Boolean state;
    private Boolean isToday;
    private String name; //商品分类名称
    private Integer num; //数量
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getPname() {
		return pname;
	}
	public void setPname(String pname) {
		this.pname = pname;
	}
	public double getUnitPrice() {
		return unitPrice;
	}
	public void setUnitPrice(double unitPrice) {
		this.unitPrice = unitPrice;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getDetails() {
		return details;
	}
	public void setDetails(String details) {
		this.details = details;
	}
	public int getStock() {
		return stock;
	}
	public void setStock(int stock) {
		this.stock = stock;
	}
	public int getCategoryId() {
		return categoryId;
	}
	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}
	public Boolean getIsPutOnSale() {
		return isPutOnSale;
	}
	public void setIsPutOnSale(Boolean isPutOnSale) {
		this.isPutOnSale = isPutOnSale;
	}
	public Boolean getState() {
		return state;
	}
	public void setState(Boolean state) {
		this.state = state;
	}
	public Boolean getIsToday() {
		return isToday;
	}
	public void setIsToday(Boolean isToday) {
		this.isToday = isToday;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Integer getNum() {
		return num;
	}
	public void setNum(Integer num) {
		this.num = num;
	}

}

